FileFormatException(String, Exception) Constructor
Creates a new instance of the FileFormatException class with the specified error message and inner exception.
Namespace: Independentsoft.OfficeAssembly: Independentsoft.Office (in Independentsoft.Office.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
public FileFormatException(
string message,
Exception innerException
)
Public Sub New (
message As String,
innerException As Exception
)
Parameters
- message String
- The message that describes the error
- innerException Exception
- The exception that is the cause of the current exception. If the innerException parameter is not a null reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception.